// use-case-iac-unittest
variable "target_account_id" {
  description = "Target account id"
  type        = string
  default     = "1041484348"

  validation {
    condition     = length(var.target_account_id) == 10
    error_message = "The target_account_id value must be a valid account id."
  }
}

variable "contact_group_name" {
  type    = string
  default = "aliyun_monitor_cloud"
}

variable "first_contact" {
  type = object({
    mail = string
    lang = string
  })
  default = {
    mail = "testxxxx@163.com"
    lang = "zh-cn"
  }
}

variable "second_contact" {
  type = object({
    mail = string
    lang = string
  })
  default = {
    mail = "testxxxxxxx@163.com"
    lang = "zh-cn"
  }
}

variable "smc_contact" {
  type = object({
    mail = string
    lang = string
  })
  default = {
    mail = "testxxxxxxx@163.com"
    lang = "zh-cn"
  }
}